package com.syni.mdd.sjb.tool.service.impl;

import com.syni.mdd.sjb.tool.config.DataTreasureVerionConfig;
import com.syni.mdd.sjb.tool.service.CommonToolService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.boot.context.properties.EnableConfigurationProperties;
import org.springframework.stereotype.Service;

@Service
@EnableConfigurationProperties(DataTreasureVerionConfig.class)
public class CommonToolServiceImpl implements CommonToolService {
    @Autowired
    DataTreasureVerionConfig dataTreasureVerionConfig;

    public DataTreasureVerionConfig getDataTreasureVerionConfig() {
        return dataTreasureVerionConfig;
    }
}
